package com.sinping.qh.service.app.records;

import com.sinping.qh.api.support.FrontPage;
import com.sinping.qh.dto.app.records.CheckRecordByAppDTO;
import com.sinping.qh.dto.app.records.CheckRecordOffLineByAppDTO;
import com.sinping.qh.dto.common.ICommonDTO;

/**
 * @author zhangjin
 * @create 2018/5/31
 */
public interface ICheckRecordService {


    FrontPage findPage(FrontPage frontPage);

    FrontPage findPageByUniting(FrontPage frontPage,ICommonDTO iCommonDTO);
    /**
     * 分页查询
     * @param frontPage
     * @return
     */
    FrontPage findPageByUnitingDetail(FrontPage frontPage,ICommonDTO iCommonDTO);

    FrontPage findPageByRectifyAndReview(FrontPage frontPage,ICommonDTO iCommonDTO);

    CheckRecordByAppDTO findOne(String id);


    boolean delete(String id);

    boolean examineCheckRecord(String id,String checkStatus);

    void updateRecordByOffline(CheckRecordOffLineByAppDTO checkRecordOffLineByAppDTO,ICommonDTO iCommonDTO);

}
